Record Detail

Compile Error

/tmp/cc2DU2j7.o:(.bss+0x0): multiple definition of `firstRoom'
/tmp/ccY1mVcg.o:(.bss+0x0): first defined here
/tmp/cc2DU2j7.o: In function `listToArray':
hotel-mt.c:(.text+0x0): multiple definition of `listToArray'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x0): first defined here
/tmp/cc2DU2j7.o: In function `addVisitor':
hotel-mt.c:(.text+0x9d): multiple definition of `addVisitor'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x9d): first defined here
/tmp/cc2DU2j7.o: In function `addRoom':
hotel-mt.c:(.text+0xfb): multiple definition of `addRoom'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0xfb): first defined here
/tmp/cc2DU2j7.o: In function `getAvailableRooms':
hotel-mt.c:(.text+0x159): multiple definition of `getAvailableRooms'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x159): first defined here
/tmp/cc2DU2j7.o: In function `getRoom':
hotel-mt.c:(.text+0x1eb): multiple definition of `getRoom'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1eb): first defined here
/tmp/cc2DU2j7.o: In function `getRoomsListByType':
hotel-mt.c:(.text+0x22a): multiple definition of `getRoomsListByType'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x22a): first defined here
/tmp/cc2DU2j7.o: In function `showAllRooms':
hotel-mt.c:(.text+0x2bc): multiple definition of `showAllRooms'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x2bc): first defined here
/tmp/cc2DU2j7.o: In function `showVisitorsList':
hotel-mt.c:(.text+0x4a3): multiple definition of `showVisitorsList'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x4a3): first defined here
/tmp/cc2DU2j7.o: In function `splitString':
hotel-mt.c:(.text+0x545): multiple definition of `splitString'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x545): first defined here
/tmp/cc2DU2j7.o: In function `getline':
hotel-mt.c:(.text+0x6a4): multiple definition of `getline'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x6a4): first defined here
/tmp/cc2DU2j7.o: In function `readLine':
hotel-mt.c:(.text+0x825): multiple definition of `readLine'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x825): first defined here
/tmp/cc2DU2j7.o: In function `getFileSize':
hotel-mt.c:(.text+0x89f): multiple definition of `getFileSize'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x89f): first defined here
/tmp/cc2DU2j7.o: In function `removeComments':
hotel-mt.c:(.text+0x8ed): multiple definition of `removeComments'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x8ed): first defined here
/tmp/cc2DU2j7.o: In function `getRoomNum':
hotel-mt.c:(.text+0x91b): multiple definition of `getRoomNum'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x91b): first defined here
/tmp/cc2DU2j7.o: In function `getKeyValue':
hotel-mt.c:(.text+0x94f): multiple definition of `getKeyValue'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x94f): first defined here
/tmp/cc2DU2j7.o: In function `loadHotelData':
hotel-mt.c:(.text+0x9c5): multiple definition of `loadHotelData'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x9c5): first defined here
/tmp/cc2DU2j7.o: In function `writeHotelData':
hotel-mt.c:(.text+0xd5c): multiple definition of `writeHotelData'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0xd5c): first defined here
/tmp/cc2DU2j7.o:(.data.rel.local+0x0): multiple definition of `availTypes'
/tmp/ccY1mVcg.o:(.data.rel.local+0x0): first defined here
/tmp/cc2DU2j7.o:(.data+0x0): multiple definition of `maxVacant'
/tmp/ccY1mVcg.o:(.data+0x0): first defined here
/tmp/cc2DU2j7.o:(.bss+0x8): multiple definition of `totalMoney'
/tmp/ccY1mVcg.o:(.bss+0x8): first defined here
/tmp/cc2DU2j7.o: In function `calculatePrice':
hotel-mt.c:(.text+0xfb6): multiple definition of `calculatePrice'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0xfb6): first defined here
/tmp/cc2DU2j7.o: In function `getCurrentDate':
hotel-mt.c:(.text+0xfdd): multiple definition of `getCurrentDate'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0xfdd): first defined here
/tmp/cc2DU2j7.o: In function `getRandomAlphabet':
hotel-mt.c:(.text+0x1077): multiple definition of `getRandomAlphabet'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1077): first defined here
/tmp/cc2DU2j7.o: In function `getRandomNumber':
hotel-mt.c:(.text+0x10a3): multiple definition of `getRandomNumber'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x10a3): first defined here
/tmp/cc2DU2j7.o: In function `getRandomString':
hotel-mt.c:(.text+0x10d5): multiple definition of `getRandomString'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x10d5): first defined here
/tmp/cc2DU2j7.o: In function `initializeHotelAndDatabaseFile':
hotel-mt.c:(.text+0x11b9): multiple definition of `initializeHotelAndDatabaseFile'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x11b9): first defined here
/tmp/cc2DU2j7.o: In function `validDate':
hotel-mt.c:(.text+0x1519): multiple definition of `validDate'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1519): first defined here
/tmp/cc2DU2j7.o: In function `increaseNumberOfNights':
hotel-mt.c:(.text+0x1582): multiple definition of `increaseNumberOfNights'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1582): first defined here
/tmp/cc2DU2j7.o: In function `increaseBreakfast':
hotel-mt.c:(.text+0x15c6): multiple definition of `increaseBreakfast'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x15c6): first defined here
/tmp/cc2DU2j7.o: In function `getAvailableRoomsListOfType':
hotel-mt.c:(.text+0x160a): multiple definition of `getAvailableRoomsListOfType'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x160a): first defined here
/tmp/cc2DU2j7.o: In function `showCard':
hotel-mt.c:(.text+0x1624): multiple definition of `showCard'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1624): first defined here
/tmp/cc2DU2j7.o: In function `generateCard':
hotel-mt.c:(.text+0x16f5): multiple definition of `generateCard'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x16f5): first defined here
/tmp/cc2DU2j7.o: In function `showReceipt':
hotel-mt.c:(.text+0x1854): multiple definition of `showReceipt'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1854): first defined here
/tmp/cc2DU2j7.o: In function `generateReceipt':
hotel-mt.c:(.text+0x1a5f): multiple definition of `generateReceipt'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1a5f): first defined here
/tmp/cc2DU2j7.o: In function `customerCheckOut':
hotel-mt.c:(.text+0x1af0): multiple definition of `customerCheckOut'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1af0): first defined here
/tmp/cc2DU2j7.o: In function `customerCheckIn':
hotel-mt.c:(.text+0x1b82): multiple definition of `customerCheckIn'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1b82): first defined here
/tmp/cc2DU2j7.o: In function `getListOfAllVisitorsInHotel':
hotel-mt.c:(.text+0x1fbc): multiple definition of `getListOfAllVisitorsInHotel'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1fbc): first defined here
/tmp/cc2DU2j7.o: In function `sortArray':
hotel-mt.c:(.text+0x20e2): multiple definition of `sortArray'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x20e2): first defined here
/tmp/cc2DU2j7.o: In function `getSortedListOfAllVisitorsInHotel':
hotel-mt.c:(.text+0x2275): multiple definition of `getSortedListOfAllVisitorsInHotel'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x2275): first defined here
/tmp/cc2DU2j7.o: In function `moneyReceivedAtTheEnd':
hotel-mt.c:(.text+0x22ab): multiple definition of `moneyReceivedAtTheEnd'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x22ab): first defined here
/tmp/ccE1YvzY.o:(.bss+0x0): multiple definition of `firstRoom'
/tmp/ccY1mVcg.o:(.bss+0x0): first defined here
/tmp/ccE1YvzY.o: In function `listToArray':
hotel-db.c:(.text+0x0): multiple definition of `listToArray'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x0): first defined here
/tmp/ccE1YvzY.o: In function `addVisitor':
hotel-db.c:(.text+0x9d): multiple definition of `addVisitor'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x9d): first defined here
/tmp/ccE1YvzY.o: In function `addRoom':
hotel-db.c:(.text+0xfb): multiple definition of `addRoom'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0xfb): first defined here
/tmp/ccE1YvzY.o: In function `getAvailableRooms':
hotel-db.c:(.text+0x159): multiple definition of `getAvailableRooms'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x159): first defined here
/tmp/ccE1YvzY.o: In function `getRoom':
hotel-db.c:(.text+0x1eb): multiple definition of `getRoom'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x1eb): first defined here
/tmp/ccE1YvzY.o: In function `getRoomsListByType':
hotel-db.c:(.text+0x22a): multiple definition of `getRoomsListByType'
/tmp/ccY1mVcg.o:hotel-main.c:(.text+0x22a): first defined here
/tmp

Information

Submit By
Type
Submission
Homework
Project 2
Language
C
Submit At
2018-07-18 23:42:31
Judged At
2018-07-18 23:42:31
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes